package com.sptpc.demo1.service;

import com.sptpc.demo1.model.Book;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageRequest;

import java.util.List;

public interface IBookService {

    //查询所有用户
    List<Book> getAllDrinks();

    void addNewDrink(Book book);

    void delBook(Integer id);

    Book getbookById(Integer id);

    void updateBook(Book book);
}
